package com.sdleyou.treepro.common.model.convert;

import com.sdleyou.treepro.common.model.dao.AppointmentDO;
import com.sdleyou.treepro.common.model.vo.AppointmentVO;
import org.springframework.beans.BeanUtils;

public class AppointmentDO2AppointmentVOConverter {

    public static AppointmentVO convert(AppointmentDO appointmentDO) {
        AppointmentVO appointmentVO = new AppointmentVO();
        BeanUtils.copyProperties(appointmentDO, appointmentVO);
        return appointmentVO;
    }
}
